Repository navigation
[MOO-2499]: Upgrade React 19.3 and React Native 0.88 - #236
Merged
Merged
Conversation
Upgrade the Pluggable Widgets Tools and the widget generator templates to React Native 0.88 (RC) and React 19.3. (MOO-2499) - bump react-native, @react-native/babel-preset, react, react-dom, react-test-renderer and the React types - use @react-native/jest-preset for native tests, since React Native no longer ships its own Jest preset - resolve modules with "bundler" in the base tsconfig, since React Native only exposes its types through package exports - add react-native-worklets and @react-native-vector-icons/common to the native externals and stop terser from removing directives - update the migration script, generator templates and command tests BREAKING CHANGE: widgets are upgraded to React Native 0.88 and React 19.3. The deprecated react-native-vector-icons package is no longer an external of native widgets; use the scoped @react-native-vector-icons/* packages.
On Windows runners the temp directory can be an 8.3 short path (RUNNER~1). Node resolved modules through that short path while Jest resolved them through the long path, so React was loaded twice and the generated native widget tests failed with "Cannot read properties of null (reading 'useReducer')".
weirdwater
reviewed
Oct 5, 2026
@rollup/plugin-typescript requires tslib at build time but only lists it as an optional peer dependency. It used to be installed by chance through another package, which is no longer the case, so building a TypeScript widget could fail with "Could not find module 'tslib'".
- drop the unused react-hot-loader path mapping from the tools tsconfig - resolve the native Jest preset by name instead of by absolute path
This reverts commit f263b1b. Resolving the native Jest preset by name lets Jest load it from the real path, which should also avoid loading React twice when the temp directory is an 8.3 short path on Windows runners.
Restore the react-native-vector-icons external and drop its breaking change note from the changelog. Removing the old package name is unrelated to the React Native 0.88 upgrade and can be done separately.
Contributor
Author
|
Thanks for reviewing this @weirdwater , I appreciate it! I addressed the notes. As the PR description mentions, we will wait for the 12th of October until RN v0.88 releases and then update the dependencies -> rerunning the CI. Until then, I am moving this to Draft at the moment. |
MxKevinBeqo
marked this pull request as draft
October 6, 2026 11:25
YogendraShelke
approved these changes
Oct 7, 2026
Replace the 0.88.0-rc.3 pins for react-native, @react-native/babel-preset and @react-native/jest-preset with 0.88.0, including the generator templates and expected outputs, the command-tests and the migration constants.
MxKevinBeqo
marked this pull request as ready for review
October 16, 2026 09:49
…native.mjs Co-authored-by: Yogendra Shelke <yogendrashelke1992@gmail.com>
…e.config.js Co-authored-by: Yogendra Shelke <yogendrashelke1992@gmail.com>
YogendraShelke
approved these changes
Oct 19, 2026
… React Native 0.88 upgrade (#1)
…e.config.js Co-authored-by: Yogendra Shelke <yogendrashelke1992@gmail.com>
YogendraShelke
approved these changes
Oct 19, 2026
Contributor
Author
|
Hey @weirdwater , all the changes are in now, together with the official Rn v0.88, so please whenever you get the chance to re-review the new commits 🙇 . |
weirdwater
requested changes
Oct 26, 2026
weirdwater
previously approved these changes
Oct 26, 2026
weirdwater
approved these changes
Oct 27, 2026
weirdwater
approved these changes
Oct 27, 2026
weirdwater
enabled auto-merge
October 27, 2026 09:52
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR upgrades to React 19.3 and React Native 0.88.